#ifndef OBSTACLES_H
#define OBSTACLES_H
#include<QPixmap>


class obstacles
{
public:
    obstacles(int);

    void updatePosition();
    int index;

    int o_x;
    int o_y;

    QPixmap pix;

    QRect o_rect;

    bool is_free3;

    int o_speed=1;

    int offset=1;


};

#endif // OBSTACLES_H
